package project.menu.mastermenu;

import controllers.IAutoservice;
import project.menu.IMenu;
import project.menu.IMenuItem;
import project.work.Navigator;

public class ListMasters implements IMenuItem {
	

	private String name = "Get List Masters";
	private final Integer id = 1;
	private static IMenu submenu;
	private Navigator n;
	
	public ListMasters(){
		n=Navigator.getInstance();
	}

	public Integer getId() {
		return id;
	}

	public void action(IAutoservice aut) {
		n.drawMenu(submenu);

	}

	public String getNameItem() {

		return name;
	}

	

	public static void setMenu(IMenu menu) {
		submenu = menu;
	}

}
